fixed prime version