Fixed GUI bug on production mode