.routines fix