added try catch for fps