put stupid hack back in because evidently its still needed