Fixed null pointers bug