fix parentheses in load_blocks_in_spark
fix missing shape arg and formatting warnings in load_blocks_in_spark