Replaced magic number with constant
Corrected typo