Change prev() to previous()