Fixed compile and analyze