minor bugfix for capstone (django project)