minor improvements with the up-sleep template