Weird problem upon calling same function twice

Printable View