V1.1 prevent program from null happening