made a compile-error fix a bit cleaner