fixed php notices :P