Prevent crash on tap