Pasta code fix