Fixed zero bug