fixed control to check for the correct bin path