added bgq input file and bugfix