Fix for copypasted code