Bug fix on salary/views.py