little fix nullpointerexception