compile without warnings
singular wake up borrowed from port implementation