fixed dropdown box problem and cleaned up unused files