fix for dev mode