Trying to fix crashing by changing formatting