Bug in dev mode