removed unused maps
fixed check before running knockout phase