Fixed all Null Reference Exceptions