error checking added when binding cannot be found