fix for compact