Fixed the porgyon2 bug