now it wont crash