fixed null exception

yayasdlfkjas;dlkfjasdf