ugly hack..