Why isn't a percentage value working?